import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import '@/assets/css/global.css' // 全局样式

const app = createApp(App)

app.use(router)
app.use(ElementPlus)
router.push('/login') // 启动时直接跳转到登录页面
app.mount('#app')